$(".observation").hover(
	function(){
		$(this).css("background-color", "#F2F2F2");
	},
	function(){
		$(this).css("background-color", "#ffffff");
	}
);

$(".obs-test").click(function(){

	var row = $(this).closest("tr");
	var typeTest = row.attr("data-typeTest");
	ChangeTestObservation(typeTest);

	// change text Observation
	$(this).text(getObservationName(arrayTest[typeTest].observation));
	
	// change text drug level
	row.children(".druglevel").first().text(GetDrugLevel(typeTest));
	if(IsFlag(arrayTest[typeTest].observation))
		row.children(".interpretation").first().css("color", "red");
	else
		row.children(".interpretation").first().css("color", "black");

	// change interpretation
	row.children(".interpretation").text(GetInterpretation(arrayTest[typeTest].observation));

	// update comment
	$("#comments").html(GetTestComments());

});// end click